package com.lwh.springboot.mapper;

import com.lwh.springboot.pojo.entity.Insure;
import com.lwh.springboot.pojo.vo.InsureVO;

import java.util.List;

// IInsureDao
public interface InsureMapper {

    List<Insure> selectAll();

    void deleteById(Integer id);

    void add(Insure insure);

    Insure selectById(Integer id);

    void update(Insure insure);

    List<InsureVO> selectByPage(int offset, Integer pageSize);

    int selectTotalCount();

    void deleteAll(Integer[] ids);
}